<?php
 //总后台链接
 function getAllMenu_extra($arr){
	 
	// $arr['article1']= array('name' => '拼团管理', 'icon' => 'fa-paste', 'sub_menu' => array(
	// 				array('name' => '商品列表', 'act' => 'goodsList', 'control' => 'Pint'),
	// 				array('name' => '拼团列表', 'act' => 'pintList', 'control' => 'Pint'),
	// 				array('name' => '规则管理', 'act' => 'pintRule', 'control' => 'Pint'),
	// 				array('name' => '订单列表', 'act' => 'pintOrder', 'control' => 'Pint'),
	// 		));
	// $arr['promotion']['sub_menu'][]=array('name' => '秒杀订单', 'act'=>'index', 'control'=>'miaosha');
	// $arr['promotion']['sub_menu'][]=array('name' => '秒杀商品', 'act'=>'ms_goodslist', 'control'=>'miaosha');
	return $arr; 
 }
 
 //广告链接
 function getAdlink_extra($arr){
	$arr=array_merge($arr,array("/pages/pint/index/index"=>"拼团首页"));
	return $arr; 
 }
 //首页导航和底部导航链接
 function getsystem_nav_extra($arr){
	 
	$arr=array_merge($arr,array("/pages/pint/index/index"=>"拼团首页"));
	$arr=array_merge($arr,array('/pages/miaosha/miaosha' => '秒杀'));
	$arr=array_merge($arr,array('/pages/seller/index/index' => '附近店铺'));
	return $arr; 
 }
 //会员中心链接
 function get_usercenter_nav_extra($arr){
	 
	$arr=array_merge($arr,array("/pages/pint/orderlist/orderlist"=>"我的拼团"));		
	return $arr; 
 }
 
 //商家后台导航
 function getMenuList_seller_extra($arr){
	
	$arr['pint']=array('name' => '拼团管理', 'icon'=>'fa-book', 'child' => array(
					// array('name' => '分销设置', 'act'=>'fenxiao', 'op'=>'pint'),
					array('name' => '商品列表', 'act'=>'goodsList', 'op'=>'pint'),
					array('name' => '拼团管理', 'act'=>'pintList', 'op'=>'pint'),
					array('name' => '订单管理', 'act'=>'pintOrder', 'op'=>'pint')));
	// $arr['promotion']['child'][]=array('name' => '秒杀管理', 'act'=>'index', 'op'=>'Miaosha');
	return $arr; 
 }
 
